package it.unibz.easytravel.expenses;

import it.unibz.easytravel.R;
import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class Report extends TabActivity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
        final TabHost tabHost = getTabHost();

        tabHost.addTab(tabHost.newTabSpec("tab0")
                .setIndicator("Statistic", getResources().getDrawable(R.drawable.stat_graph))
                .setContent(new Intent(this, StatisticView1.class)));
        tabHost.addTab(tabHost.newTabSpec("tab1")
                .setIndicator("Debts")
                .setContent(new Intent(this, AmountList.class)));
        tabHost.addTab(tabHost.newTabSpec("tab2")
                .setIndicator("Expenses")
                .setContent(new Intent(this, ExpensesList.class)));
	}	
}
